/*
 * @Description: 账单小类型,根据这个小类型来区分不同的组件及业务
 * @Author: tao.xie
 * @Date: 2019-03-15 17:35:54
 * @Last Modified by: yingying.fan
 * @Last Modified time: 2019-03-18 15:18:09
 */

/** 福利赠送类型 */
const WELFARE = 2 // 福利
const APP_GIFT = 3 // APP赠送

/** 充值类型 */
const RECHARGE_BY_OTHER = 1 // 代充
const RECHARGE_BY_APP_WECHART = 4 // 微信APP支付充值
const RECHARGE_BY_APP_ALI = 5 // 支付宝支付充值
const RECHARGE_BY_JS_WECHART = 6 // 微信JS充值
const RECHARGE_BY_UNION_WAP = 60 // 银联WAP充值
const RECHARGE_BY_CHENGTAI = 61 // 金华成泰银行充值
const RECHARGE_BY_BWT_UNION = 62 // 八维通银联平台充值

/** 线上类型 */
const PAY_ONLINE = 11 // 线上订单消费

/** 线下类型 */
const PAY_OFFLINE = 12 // 线下订单消费

/** 公交类型 */
const PAY_BUS = 13 // 乘车消费
const PAY_BUS_MULTIVOTE = 15 // 多票乘车消费
const FREEZON_PAY_BUS_ON = 42 // 多票制上车冻结金额
const UNFREEZON_PAY_BUS_OFF = 52 // 多票制下车解冻金额

/** 员工订餐类型:订餐,冻结,解冻 */
const PAY_STAFF_MEAL = 14 // 员工餐消费
const FREEZON_MEAL = 41 // 员工餐金额冻结
const UNFREEZON_MEAL = 51 // 员工餐金额解冻

/** 退款类型 */
const REFUND_BUS = 21 // 乘坐公交退款
const REFUND_OFFLINE = 22 // 线下消费退款
const REFUND_STAFF_MEAL = 23 // 员工订餐退款
const REFUND_ONLINE = 24 // 线上消费退款
const REFUND_TRANSFER = 26 // 换乘优惠

/** 提现类型 */
const RETURN_CASH_CARD_DESTROY = 31 // 销卡提现
const RETURN_CASH_APP_CHARGE = 32 // app充值提现

export {
  RECHARGE_BY_OTHER,
  WELFARE,
  APP_GIFT,
  RECHARGE_BY_APP_WECHART,
  RECHARGE_BY_APP_ALI,
  RECHARGE_BY_JS_WECHART,
  RECHARGE_BY_UNION_WAP,
  RECHARGE_BY_CHENGTAI,
  RECHARGE_BY_BWT_UNION,
  PAY_ONLINE,
  PAY_OFFLINE,
  PAY_BUS,
  PAY_BUS_MULTIVOTE,
  PAY_STAFF_MEAL,
  REFUND_BUS,
  REFUND_OFFLINE,
  REFUND_STAFF_MEAL,
  REFUND_ONLINE,
  REFUND_TRANSFER,
  RETURN_CASH_CARD_DESTROY,
  RETURN_CASH_APP_CHARGE,
  FREEZON_MEAL,
  FREEZON_PAY_BUS_ON,
  UNFREEZON_MEAL,
  UNFREEZON_PAY_BUS_OFF
}
